#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Time    : 17-8-6 下午8:09
@Author  : TangZongYu
@Desc    : 
"""
from views import (PersonInYear,PersonYearWork,
                   PersonInfo,ShouGaoInfo,
                   PersonShouGao,BirthPlaceCount,
                    PlaceDetail,AllEvent,ReadJson,
                   RelationByYear,GetRelationDetail,index
                   )
from django.conf.urls import url,include
urlpatterns = [
    url(r'^$',index),
    url(r'^event/info/$',AllEvent.as_view()),
    url(r'^event/$',PersonInYear.as_view()),
    url(r'^event/person/$',PersonYearWork.as_view()),
    url(r'^person/$',PersonInfo.as_view()),
    url(r'^person/work/$',PersonShouGao.as_view()),
    url(r'^work/$',ShouGaoInfo.as_view()),
    url(r'^place/count/$',BirthPlaceCount.as_view()),
    url(r'^place/$',PlaceDetail.as_view()),
    url(r'^json/$',ReadJson.as_view()),
    url(r'^relation/year/$',RelationByYear.as_view()),
    url(r'^relation/detail/$', GetRelationDetail.as_view()),
    # url(r'^author/(?P<page>\d+)/$',AuthorBookListView.as_view()),
    # url(r'^recommend/$',RecommendView.as_view()),
    # url(r'^user_like/$',SameUserBookList.as_view()),
    # url(r'^user_like/(?P<order>\d+)/$',SameUserBookDetail.as_view())
]